﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C77 RID: 3191
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class NNIDMJHAPKK : IMessage<NNIDMJHAPKK>, IMessage, IEquatable<NNIDMJHAPKK>, IDeepCloneable<NNIDMJHAPKK>, IBufferMessage
	{
		// Token: 0x1700282A RID: 10282
		// (get) Token: 0x06008E97 RID: 36503 RVA: 0x0017AC1F File Offset: 0x00178E1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<NNIDMJHAPKK> Parser
		{
			get
			{
				return NNIDMJHAPKK._parser;
			}
		}

		// Token: 0x1700282B RID: 10283
		// (get) Token: 0x06008E98 RID: 36504 RVA: 0x0017AC26 File Offset: 0x00178E26
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return NNIDMJHAPKKReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700282C RID: 10284
		// (get) Token: 0x06008E99 RID: 36505 RVA: 0x0017AC38 File Offset: 0x00178E38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return NNIDMJHAPKK.Descriptor;
			}
		}

		// Token: 0x06008E9A RID: 36506 RVA: 0x0017AC3F File Offset: 0x00178E3F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNIDMJHAPKK()
		{
		}

		// Token: 0x06008E9B RID: 36507 RVA: 0x0017AC54 File Offset: 0x00178E54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNIDMJHAPKK(NNIDMJHAPKK other) : this()
		{
			this.state_ = other.state_;
			this.oMFGMILDJDO_ = other.oMFGMILDJDO_;
			this.nNOLOOIACLG_ = other.nNOLOOIACLG_;
			this.mKNHJFFHCDA_ = other.mKNHJFFHCDA_;
			this.mHFANLAADFF_ = other.mHFANLAADFF_.Clone();
			this.eventId_ = other.eventId_;
			this.dDCGDKHHPAK_ = other.dDCGDKHHPAK_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008E9C RID: 36508 RVA: 0x0017ACD1 File Offset: 0x00178ED1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NNIDMJHAPKK Clone()
		{
			return new NNIDMJHAPKK(this);
		}

		// Token: 0x1700282D RID: 10285
		// (get) Token: 0x06008E9D RID: 36509 RVA: 0x0017ACD9 File Offset: 0x00178ED9
		// (set) Token: 0x06008E9E RID: 36510 RVA: 0x0017ACE1 File Offset: 0x00178EE1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MuseumRandomEventState State
		{
			get
			{
				return this.state_;
			}
			set
			{
				this.state_ = value;
			}
		}

		// Token: 0x1700282E RID: 10286
		// (get) Token: 0x06008E9F RID: 36511 RVA: 0x0017ACEA File Offset: 0x00178EEA
		// (set) Token: 0x06008EA0 RID: 36512 RVA: 0x0017ACF2 File Offset: 0x00178EF2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint OMFGMILDJDO
		{
			get
			{
				return this.oMFGMILDJDO_;
			}
			set
			{
				this.oMFGMILDJDO_ = value;
			}
		}

		// Token: 0x1700282F RID: 10287
		// (get) Token: 0x06008EA1 RID: 36513 RVA: 0x0017ACFB File Offset: 0x00178EFB
		// (set) Token: 0x06008EA2 RID: 36514 RVA: 0x0017AD03 File Offset: 0x00178F03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint NNOLOOIACLG
		{
			get
			{
				return this.nNOLOOIACLG_;
			}
			set
			{
				this.nNOLOOIACLG_ = value;
			}
		}

		// Token: 0x17002830 RID: 10288
		// (get) Token: 0x06008EA3 RID: 36515 RVA: 0x0017AD0C File Offset: 0x00178F0C
		// (set) Token: 0x06008EA4 RID: 36516 RVA: 0x0017AD14 File Offset: 0x00178F14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MKNHJFFHCDA
		{
			get
			{
				return this.mKNHJFFHCDA_;
			}
			set
			{
				this.mKNHJFFHCDA_ = value;
			}
		}

		// Token: 0x17002831 RID: 10289
		// (get) Token: 0x06008EA5 RID: 36517 RVA: 0x0017AD1D File Offset: 0x00178F1D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> MHFANLAADFF
		{
			get
			{
				return this.mHFANLAADFF_;
			}
		}

		// Token: 0x17002832 RID: 10290
		// (get) Token: 0x06008EA6 RID: 36518 RVA: 0x0017AD25 File Offset: 0x00178F25
		// (set) Token: 0x06008EA7 RID: 36519 RVA: 0x0017AD2D File Offset: 0x00178F2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x17002833 RID: 10291
		// (get) Token: 0x06008EA8 RID: 36520 RVA: 0x0017AD36 File Offset: 0x00178F36
		// (set) Token: 0x06008EA9 RID: 36521 RVA: 0x0017AD3E File Offset: 0x00178F3E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DDCGDKHHPAK
		{
			get
			{
				return this.dDCGDKHHPAK_;
			}
			set
			{
				this.dDCGDKHHPAK_ = value;
			}
		}

		// Token: 0x06008EAA RID: 36522 RVA: 0x0017AD47 File Offset: 0x00178F47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as NNIDMJHAPKK);
		}

		// Token: 0x06008EAB RID: 36523 RVA: 0x0017AD58 File Offset: 0x00178F58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(NNIDMJHAPKK other)
		{
			return other != null && (other == this || (this.State == other.State && this.OMFGMILDJDO == other.OMFGMILDJDO && this.NNOLOOIACLG == other.NNOLOOIACLG && this.MKNHJFFHCDA == other.MKNHJFFHCDA && this.mHFANLAADFF_.Equals(other.mHFANLAADFF_) && this.EventId == other.EventId && this.DDCGDKHHPAK == other.DDCGDKHHPAK && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008EAC RID: 36524 RVA: 0x0017ADF8 File Offset: 0x00178FF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.State != MuseumRandomEventState.None)
			{
				num ^= this.State.GetHashCode();
			}
			if (this.OMFGMILDJDO != 0U)
			{
				num ^= this.OMFGMILDJDO.GetHashCode();
			}
			if (this.NNOLOOIACLG != 0U)
			{
				num ^= this.NNOLOOIACLG.GetHashCode();
			}
			if (this.MKNHJFFHCDA != 0U)
			{
				num ^= this.MKNHJFFHCDA.GetHashCode();
			}
			num ^= this.mHFANLAADFF_.GetHashCode();
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this.DDCGDKHHPAK != 0U)
			{
				num ^= this.DDCGDKHHPAK.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008EAD RID: 36525 RVA: 0x0017AEC8 File Offset: 0x001790C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008EAE RID: 36526 RVA: 0x0017AED0 File Offset: 0x001790D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008EAF RID: 36527 RVA: 0x0017AEDC File Offset: 0x001790DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.NNOLOOIACLG != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.NNOLOOIACLG);
			}
			if (this.MKNHJFFHCDA != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.MKNHJFFHCDA);
			}
			if (this.DDCGDKHHPAK != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.DDCGDKHHPAK);
			}
			if (this.EventId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.EventId);
			}
			if (this.State != MuseumRandomEventState.None)
			{
				output.WriteRawTag(104);
				output.WriteEnum((int)this.State);
			}
			if (this.OMFGMILDJDO != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.OMFGMILDJDO);
			}
			this.mHFANLAADFF_.WriteTo(ref output, NNIDMJHAPKK._repeated_mHFANLAADFF_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008EB0 RID: 36528 RVA: 0x0017AFB8 File Offset: 0x001791B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.State != MuseumRandomEventState.None)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.State);
			}
			if (this.OMFGMILDJDO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.OMFGMILDJDO);
			}
			if (this.NNOLOOIACLG != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.NNOLOOIACLG);
			}
			if (this.MKNHJFFHCDA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MKNHJFFHCDA);
			}
			num += this.mHFANLAADFF_.CalculateSize(NNIDMJHAPKK._repeated_mHFANLAADFF_codec);
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this.DDCGDKHHPAK != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DDCGDKHHPAK);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008EB1 RID: 36529 RVA: 0x0017B084 File Offset: 0x00179284
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(NNIDMJHAPKK other)
		{
			if (other == null)
			{
				return;
			}
			if (other.State != MuseumRandomEventState.None)
			{
				this.State = other.State;
			}
			if (other.OMFGMILDJDO != 0U)
			{
				this.OMFGMILDJDO = other.OMFGMILDJDO;
			}
			if (other.NNOLOOIACLG != 0U)
			{
				this.NNOLOOIACLG = other.NNOLOOIACLG;
			}
			if (other.MKNHJFFHCDA != 0U)
			{
				this.MKNHJFFHCDA = other.MKNHJFFHCDA;
			}
			this.mHFANLAADFF_.Add(other.mHFANLAADFF_);
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			if (other.DDCGDKHHPAK != 0U)
			{
				this.DDCGDKHHPAK = other.DDCGDKHHPAK;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008EB2 RID: 36530 RVA: 0x0017B135 File Offset: 0x00179335
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008EB3 RID: 36531 RVA: 0x0017B140 File Offset: 0x00179340
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 64U)
				{
					if (num <= 24U)
					{
						if (num == 16U)
						{
							this.NNOLOOIACLG = input.ReadUInt32();
							continue;
						}
						if (num == 24U)
						{
							this.MKNHJFFHCDA = input.ReadUInt32();
							continue;
						}
					}
					else
					{
						if (num == 32U)
						{
							this.DDCGDKHHPAK = input.ReadUInt32();
							continue;
						}
						if (num == 64U)
						{
							this.EventId = input.ReadUInt32();
							continue;
						}
					}
				}
				else if (num <= 112U)
				{
					if (num == 104U)
					{
						this.State = (MuseumRandomEventState)input.ReadEnum();
						continue;
					}
					if (num == 112U)
					{
						this.OMFGMILDJDO = input.ReadUInt32();
						continue;
					}
				}
				else if (num == 120U || num == 122U)
				{
					this.mHFANLAADFF_.AddEntriesFrom(ref input, NNIDMJHAPKK._repeated_mHFANLAADFF_codec);
					continue;
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04003663 RID: 13923
		private static readonly MessageParser<NNIDMJHAPKK> _parser = new MessageParser<NNIDMJHAPKK>(() => new NNIDMJHAPKK());

		// Token: 0x04003664 RID: 13924
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003665 RID: 13925
		public const int StateFieldNumber = 13;

		// Token: 0x04003666 RID: 13926
		private MuseumRandomEventState state_;

		// Token: 0x04003667 RID: 13927
		public const int OMFGMILDJDOFieldNumber = 14;

		// Token: 0x04003668 RID: 13928
		private uint oMFGMILDJDO_;

		// Token: 0x04003669 RID: 13929
		public const int NNOLOOIACLGFieldNumber = 2;

		// Token: 0x0400366A RID: 13930
		private uint nNOLOOIACLG_;

		// Token: 0x0400366B RID: 13931
		public const int MKNHJFFHCDAFieldNumber = 3;

		// Token: 0x0400366C RID: 13932
		private uint mKNHJFFHCDA_;

		// Token: 0x0400366D RID: 13933
		public const int MHFANLAADFFFieldNumber = 15;

		// Token: 0x0400366E RID: 13934
		private static readonly FieldCodec<uint> _repeated_mHFANLAADFF_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x0400366F RID: 13935
		private readonly RepeatedField<uint> mHFANLAADFF_ = new RepeatedField<uint>();

		// Token: 0x04003670 RID: 13936
		public const int EventIdFieldNumber = 8;

		// Token: 0x04003671 RID: 13937
		private uint eventId_;

		// Token: 0x04003672 RID: 13938
		public const int DDCGDKHHPAKFieldNumber = 4;

		// Token: 0x04003673 RID: 13939
		private uint dDCGDKHHPAK_;
	}
}
